package com.hk.webapp.dao;

import com.hk.webapp.bean.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    int getCount();

    int updateSysUser(SysUser sysUser);

    int resetPasswd(SysUser sysUser);

    List<SysUser> getPageList();

    int changeLock(SysUser sysUser);

    int deleteByIds(@Param("ids") List<Integer> ids);

    List<SysUser> getEntityByIds(@Param("ids") List<Integer> ids);

}